//
//  FunselctSectionZeroCell.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/3/21.
//  Copyright © 2016年 game. All rights reserved.
//

#import "FunselctSectionZeroCell.h"

@interface FunselctSectionZeroCell ()
@property (weak, nonatomic) IBOutlet UILabel *titlelab;
@property (weak, nonatomic) IBOutlet UILabel *textTitleLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *light;

@end

@implementation FunselctSectionZeroCell


-(void)setModel:(thread_listModel *)model{
    _model = model;
    
    self.titlelab.text = [NSString stringWithFormat:@"%@    ",_model.type];
    self.titlelab.backgroundColor = mainColor;
    
  self.textTitleLab.text = _model.subject;
    
    self.tid = _model.tid;


}
- (void)awakeFromNib {
    
    self.selectionStyle = 0;
    
    self.light.constant = 0.5;
    
    radius(self.titlelab, 7.5);
    
    self.titlelab.textColor = [UIColor whiteColor];
    
    self.textTitleLab.font = font(SCREEN_WIDTH*0.045);
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
